$(document).foundation();

// NAVIGATION MENU OFF-CANVAS
$('#toggle-menu').on('click', function(e){
    e.preventDefault();
    $('body').toggleClass('off-canvas-on');
});

// LOAD BIG IMGS IF WIDTH IS OVER 640px
if(document.documentElement.clientWidth > 640){
    $('.img-desktop').each(function(){
        var src = $(this).data('desktop');
        $(this).attr('src', src);
    });
}